//
//  XTBorderView.swift
//  XTMuteOpen
//
//  Created by bushAK on 2024/1/22.
//

import UIKit

class XTBorderView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        initUI()
    }
    
    required init?(coder: NSCoder) {
        super.init(coder: coder)
    }
    
 
    override   func awakeFromNib() {
        super.awakeFromNib()
        initUI()
    }
    
    func initUI() {
    
        layer.borderColor = UIColor.getBase().withAlphaComponent(0.1).cgColor
        layer.borderWidth = 1
        layer.masksToBounds = true
        layer.cornerRadius = 12
        backgroundColor = .clear
 
    }
}
